package com.hejia.alauda.entity;

import java.math.BigDecimal;

import javax.persistence.Column;

public class BonusReceive extends BaseEntity {
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 7015627614024096305L;
	
	@Column
	private String receiver; //领取者手机号码
	
	@Column
	private String sharer; //分享者手机号码
	
	@Column
	private BigDecimal amount; //领取金额
	
	@Column
	private BigDecimal rewardAmount; //奖励金额
	
	@Column
	private BonusRecord bonusRecord; //对应的红包记录的实体（如果转化为注册用户红包后就加入该ID）
	
	public String getReceiver() {
		return receiver;
	}

	public void setReceiver(String receiver) {
		this.receiver = receiver;
	}

	public String getSharer() {
		return sharer;
	}

	public void setSharer(String sharer) {
		this.sharer = sharer;
	}

	public BigDecimal getAmount() {
		return amount;
	}

	public void setAmount(BigDecimal amount) {
		this.amount = amount;
	}

	public BonusRecord getBonusRecord() {
		return bonusRecord;
	}

	public void setBonusRecord(BonusRecord bonusRecord) {
		this.bonusRecord = bonusRecord;
	}

	public BigDecimal getRewardAmount() {
		return rewardAmount;
	}

	public void setRewardAmount(BigDecimal rewardAmount) {
		this.rewardAmount = rewardAmount;
	}
}
